import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

@Entity
public class Room {
private int roomid;        
private int roomstatus;   
private int roomtype;       
private int roomprice;      

@Id 

public int getRoomid() {
	return roomid;
}
public void setRoomid(int roomid) {
	this.roomid = roomid;
}
public int getRoomstatus() {
	return roomstatus;
}
public void setRoomstatus(int roomstatus) {
	this.roomstatus = roomstatus;
}
public int getRoomtype() {
	return roomtype;
}
public void setRoomtype(int roomtype) {
	this.roomtype = roomtype;
}
public int getRoomprice() {
	return roomprice;
}
public void setRoomprice(int roomprice) {
	this.roomprice = roomprice;
}
@Override
public String toString() {
	return "Room [roomid=" + roomid + ", roomprice=" + roomprice
			+ ", roomstatus=" + roomstatus + ", roomtype=" + roomtype + "]";
}

}